<!doctype html>
<html>
<head>
<meta charset="utf-8">
    <title>分享积分</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">     
    <meta content="yes" name="apple-mobile-web-app-capable">     
    <meta content="black" name="apple-mobile-web-app-status-bar-style">     
    <meta content="telephone=no" name="format-detection">
    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="stylesheet" type="text/css" href="/H5/css/sm.min.css" />
    <link rel="stylesheet" type="text/css" href="/H5/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="/H5/css/commission.css?v=2" />
</head>            
<body>
	<div class="page-group ms-controller" :controller="sharecode">
        <div class="page page-current">
            <header class="bar bar-nav">
              	<a class="icon icon-left pull-left" href="javascript:window.history.go(-1);"></a>
              	<a class="icon icon-home pull-right" href="/H5"></a>
              	<h1 class="title">分享积分</h1>
            </header>
            <div class="content visibility">
				<div class="list-block" style="background: #fff; margin: 0">
	                <ul class="block-ul">
	                    <li class="item-content">
	                        <div class="item-inner">
	                            <div class="item-title">累计积分</div>
	                            <div class="item-after">{{@data.total_contribution}}</div>
	                        </div>
	                    </li>
	                    <li class="item-content">
	                        <div class="item-inner">
	                            <div class="item-title">当月积分</div>
	                            <div class="item-after">{{@data.total_month_contribution}}</div>
	                        </div>
	                    </li>
	                    <li class="item-content">
	                        <div class="item-inner">
	                            <div class="item-title">当日积分</div>
	                            <div class="item-after">{{@data.total_today_contribution}}</div>
	                        </div>
	                    </li>
	                </ul>
				</div>
            </div>
        </div>
    </div>
<script type='text/javascript' src='/H5/js/zepto.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/H5/js/sm.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/H5/js/avalon.js' charset='utf-8'></script>
<script type='text/javascript' src='/H5/js/simpleStorage.js' charset='utf-8'></script>
<script type='text/javascript' src='/H5/js/mall.js?v=10' charset='utf-8'></script>
<script>
	var Sharecode = avalon.define({
		$id: "sharecode",
        data: {},
		getDetail: function( t ){
			Mall.request( "/api/UserTeamInfo" )
				.always( function( data ){
                    if( data.error_code == 0 ){
                        Sharecode.data = data.data;
                    }
				} )
			$( ".content" ).removeClass( "visibility" )
		},
	})
    Sharecode.getDetail();
	avalon.scan( document.body );
</script>
</body>
</html>